aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/[username]/settings
diff options
context:
space:
mode:
authorsecondl1ght <[email protected]>2022-09-16 12:28:53 -0600
committersecondl1ght <[email protected]>2022-09-16 12:28:53 -0600
commitd7274fce332ecdd7adc79a6d286cc3e9f571a902 (patch)
treeee5be2a433005008f869de2395fe26407e942b45 /src/routes/[username]/settings
parentd8b4796a61747d5f58edc4bccdd0408e915b025d (diff)
downloadcoinos-ui-d7274fce332ecdd7adc79a6d286cc3e9f571a902.tar.gz
coinos-ui-d7274fce332ecdd7adc79a6d286cc3e9f571a902.zip
format and temp disable username update until we fix breaking changes
Diffstat (limited to 'src/routes/[username]/settings')
-rw-r--r--src/routes/[username]/settings/_account.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/routes/[username]/settings/_account.svelte b/src/routes/[username]/settings/_account.svelte
index 573611af..8b9eeec5 100644
--- a/src/routes/[username]/settings/_account.svelte
+++ b/src/routes/[username]/settings/_account.svelte
@@ -72,9 +72,10 @@
<input type="email" name="email" bind:value={$user.email} />
</div> -->
+<!-- TODO fix breaking changes when user updates this field -->
<div>
<label for="username" class="font-bold mb-1 block">{$t('user.settings.username')}</label>
- <input type="text" name="username" bind:value={$user.username} />
+ <input disabled type="text" name="username" bind:value={$user.username} />
</div>
<div class="relative">
@@ -144,7 +145,7 @@
</div>
{/if}
<div class="ml-2 p-2">
-<!-- found missing translation -->
+ <!-- found missing translation -->
<button
type="button"
class="border rounded-2xl font-bold w-24 text-center px-0 py-2 hover:bg-primary"